﻿<Window x:Class="Courier.Example.Rx.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto" />                           
        </Grid.RowDefinitions>
        <Border BorderBrush="Green"
                BorderThickness="1"
                Padding="10"
                x:Name="NewVM">
            <StackPanel>
                <TextBlock Text="{Binding CurrentPressure}" />
                <TextBlock Text="{Binding AlertPressure}" FontSize="12" FontWeight="Bold" Foreground="Red" />
            </StackPanel>
        </Border>
        
        <Button Grid.Row="1"
                Content="Start Simulation" 
                Height="35"
                Click="Button_Click" />
    </Grid>
</Window>
